Conversation
luhenry
added a commit
that referenced
this pull request
Sep 8, 2026
Builds the tantivy 0.26.0 Python bindings (quickwit-oss/tantivy-py) for riscv64 via cibuildwheel driving the maturin/pyo3 backend directly from the upstream checkout, matrix cp312/cp313/cp314/cp314t. Rust toolchain is installed in-container via rustup since the project ships no [tool.cibuildwheel]. Tests run the upstream pytest suite plus the doctest-modules pass over the installed wheel's compiled docstrings.
luhenry
added a commit
that referenced
this pull request
Sep 9, 2026
Follow-up to #1639, merged before its `cp312`/`cp313`/`cp314`/`cp314t` CI legs had finished. All four failed on the same second test step: `python -m pytest --pyargs tantivy --doctest-modules` exits 5 (no tests ran). Confirmed locally against the real published 0.25.1 wheel: tantivy's compiled classes report `__module__` as `tantivy.tantivy` (the compiled submodule), not `tantivy` (the wrapper package `from .tantivy import *` re-exports them into), so pytest's doctest-modules collector finds nothing there whether invoked via `--pyargs tantivy` or a path-based `tantivy` target - matching what a bare `doctest.testmod()` call against the real submodule shows. This drops that dead second test step; the real suite (`tests/`, 154 items, including the markdown-doc doctests via `mktestdocs`) already covers what upstream's own CI runs and is unaffected.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tantivy0.26.0Compiles the PyO3/maturin Python bindings for the Tantivy full-text search engine, per-interpreter (no abi3), into a
.soextension around the vendored Rusttantivycrate and its dependency tree. Upstream publishes no riscv64 wheel.Mirrors upstream's
publish.yamllinuxjob.Differs from upstream
[tool.cibuildwheel].Testing
--doctest-modules --pyargspass for the compiled classes' embedded doctests, run against the installed wheel rather than the checkout (the repo-roottantivy/package would otherwise shadow it).License: OK